﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Direct.Core;
using System.Web.Mvc;

namespace Direct.Server.Mvc
{
    public class RController : Controller
    {
        public ActionResult Index(String op1, String op2)
        {
            return Redirect("/shell");
        }

        public ActionResult Auth()
        {
            return Redirect("/auth/logonview");
        }

        public ActionResult Logout()
        {
            return Redirect("/auth/logout");
        }

        public ActionResult F(String op1, String op2, String op3)
        {
            return Content("{0} => op1: {1}, op2: {2}, op3: {3}".Templ(Request.RawUrl, op1, op2, op3));
        }

        public ActionResult LoggedOut()
        {
            return Redirect("/");
        }
    }
}
